package com.bkgy.excelhandle;

import cn.afterturn.easypoi.handler.inter.IExcelDictHandler;

public class PlanExcelHandlerImpl implements IExcelDictHandler {
    @Override
    public String toName(String dict, Object obj, String name, Object value) {
        if ("calType".equals(dict)) {
            return value.toString().equals("0") ? "0-内贸" : value.toString().equals("1") ? "1-外贸" : "";
        }
        return null;

    }

    @Override
    public String toValue(String dict, Object obj, String name, Object value) {
        return null;
    }
}
